<script setup>
import Menu from "@/components/Menu.vue";
import {useRoute} from "vue-router";
let route = useRoute();

let title = route.query.title;

const onClickLeft = () => history.back();
</script>

<template>
  <div class="delicacies">
    <div class="header">
      <van-nav-bar
          :title="route.query.title"
          left-text="返回"
          left-arrow
          @click-left="onClickLeft"
      />
    </div>
    <div class="content">
      <Menu :title="title"></Menu>
    </div>
  </div>
</template>

<style scoped>

</style>